#!/bin/bash
set -e

# Setup virtualenv
virtualenv /var/lib/postgresml-python/pgml-venv
source "/var/lib/postgresml-python/pgml-venv/bin/activate"
python -m pip install -r "/etc/postgresml-python/requirements.txt"
deactivate
